#!/usr/bin/python
# Filename: debug.py
import os

f = file('func.txt', 'w')
# f.write()
# f.readline()
f.close()

os.popen("cd /media/winfiles/GitRep/homework/ics/bomb/")
fout = os.popen("gdb bomb")
while True:
	line = fout.readline()
	if len(line) == 0:
		break
	print(line),
fout.close()
